function doSubmit(action ,method){



//alert(method);
  //$('#frm').attr("target","_top"); //target 吏��
  //$('form').attr("action",action); //action 寃쎈� 吏��
 // $('form').attr("method",method); //action 寃쎈� 吏��
  //$('form').attr("action", "./board/detview.do?boardCd=001&boardType=01").submit();

  //$('form').submit();
  
  document.form.action = contextPath+action;
  document.form.method ="post";
  document.form.submit();
  
}

function mdoSubmit(action ,method){

	 
	  document.menu.action = action;
	  document.menu.method =method;
	  document.menu.submit();

}

function getSubmit(action){
		
	  var ac="/board/detview.do?board_type=001&board_cd=01";
	  document.form.action = contextPath+ac;
	  alert(document.form.action );
	  document.form.submit();
}


/*function test2(){

	
	  document.form.submit();

}*/
$(document).ready(function(){
	$("#detview").click(function() {
	
	
	 // document.upfrm.action = "/admin/update.do";
	 // document.upfrm.method = "POST";
	 // document.upfrm.submit();
	
	 
	   
	   //$('form').attr("method","GET"); //action 寃쎈� 吏��
	   //$('form').attr("action", "./board/detview.do?boardCd=001&boardType=01").submit();
	 document.frm.submit();
	});
});